package linke.study.spring.service;

import linke.study.spring.dao.SecurityDao;
import linke.study.spring.model.User;

public class SecurityService {
	
	private SecurityDao securityDao;

	public User doUserLogin(String username, String password) {
		return securityDao.doUserLogin(username, password);
	}
	
	public void doUserLogout(String username) {
		securityDao.doUserLogout(username);
	}

	public SecurityDao getSecurityDao() {
		return securityDao;
	}

	public void setSecurityDao(SecurityDao securityDao) {
		this.securityDao = securityDao;
	}

}
